{extend name="public/base"/}
{block name="content"}
<style>
    .table td.list-text{ white-space:normal;}
    .table {
        width:100%;

    }
    .table input[type='checkbox']{
        border-radius: 100%;
        height: 15px;
        position: relative;
        vertical-align: middle;
        width: 15px;
        margin: 0px;
    }
    .table td {

        height:59px;

        vertical-align:middle!important;
        border: 1px solid #ddd;
    }
    .table td table {
        width:100%;
    }
    .table td a {
        color:#23b7e5;
        text-decoration:none;
    }
    .table td.title {
        background:#4D80B1;
        color:#fff;
        font-weight:bold;

        text-align:left;
    }
    ul li{
        list-style: none;
    }

    .neitable {
        margin:0px!important;
    }
    .stat_list {
        height:40px;

        margin-left: -40px;
    }
    .stat_list  ul li a{
        float:left;
        height:40px;
        line-height:40px;
        overflow:hidden;
        color:#768289;
        padding:0px 30px;
        background:#f6f6f6;
        /*text-shadow: 0px -1px rgba(0,0,0,0.2);*/
    }
    .stat_list .now a {
        background:#6c6fbf;
        color:#fff;
    }
    .stat_list a:hover {
        background:#efefef;
        text-decoration:none;
    }
    .stat_list .now a:hover{ background:#6c6fbf; text-decoration:none;}
    .lablelist {
        overflow:auto; padding-bottom:10px;
    }

</style>
<section class="content-header">
    <h1>客服列表</h1>
    <ol class="breadcrumb">
        <li><a href="{:U('Index/index')}">
            <i class="fa fa-dashboard"></i> 首页</a>
        </li>
        <li class="active">客服列表</li>
    </ol>
</section>
<div class="col-xs-12">

    <div class="v52fmbx_tbbox">
        <div class="stat_list">
            <ul>
                <li class="now"><a href="{:U('online/add')}" title="添加客服">添加客服</a></li>

            </ul>
        </div>


            <table cellpadding="0" cellspacing="1" class="table neitable">

                <tr >

                    <td >排序</td>
                    <td >客服名称</td>
                    <td >QQ</td>
                    <td >MSN</td>
                    <td >淘宝旺旺</td>
                    <td >阿里旺旺</td>
                    <td >SKYPE</td>
                    <td >操作</td>
                </tr>
                {volist name="onlines" id="data"}
                <tr class="mouse click">

                    <td ><input type="text" name="no_order_1" class="text no_order" value="{$data.paiid}" /></td>
                    <td ><input type="text" name="name_1" class="text max" value="{$data.name}" /></td>
                    <td ><input type="text" name="qq_1" class="text max" value="{$data.qq}" /></td>
                    <td><input type="text" name="msn_1" class="text max" value="{$data.msn}" /></td>
                    <td ><input type="text" name="taobao_1" class="text max" value="{$data.taobao}" /></td>
                    <td ><input type="text" name="alibaba_1" class="text max" value="{$data.aliww}" /></td>
                    <td ><input type="text" name="skype_1" class="text max" value="{$data.skype}" /></td>
                    <td ><a href="{:U('online/edit',array('id'=>$data['id']))}"  >编辑</a> | <a href="{:U('online/delete',array('id'=>$data['id']))}"  >删除</a></td>
                </tr>
                {/volist}




            </table>


    </div>

</div>
{/block}